package com.itheima.homework;

/**
 * 题目3
 */
public class Demo1 {
    public static void main(String[] args) {
        Outer.inter obj = new Outer().new inter();
        obj.show();
    }
}
class Outer{

    public int num = 10;

    class inter{

        public int num = 20;

        public void show(){

            int num = 30;


            System.out.println(num);
            System.out.println(this.num);
            System.out.println(Outer.this.num);

        }//运行顺序为30,20,10
    }
}